﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 发票寄送流程流程数据模型
        /// </summary>

        public class InvoiceFlowModel:IIdentity
        {
                /// <summary>
                /// 获取标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public string Id { get; set; }

                /// <summary>
                /// 获取或设置流程状态
                /// </summary>
                /// <value>
                /// 流程状态
                /// </value>
                public string State { get; set; }

                /// <summary>
                /// 获取寄送员工标识
                /// </summary>
                /// <value>
                /// 寄送员工标识
                /// </value>
                public string DeliveryEmployeeId { get; set; }

                /// <summary>
                /// 获取或设置寄送时间
                /// </summary>
                /// <value>
                /// 寄送时间
                /// </value>
                public DateTime DeliveryTime { get; set; }

                /// <summary>
                /// 获取或设置寄送单号
                /// </summary>
                /// <value>
                /// 寄送单号
                /// </value>
                public string DeliveryNumber { get; set; }

                /// <summary>
                /// 获取经销商标识
                /// </summary>
                /// <value>
                /// 经销商标识
                /// </value>
                public string DealerId { get; set; }

                /// <summary>
                /// 获取开票员工标识
                /// </summary>
                /// <value>
                /// 开票员工标识
                /// </value>
                public string BillingEmployeeId { get; set; }

                /// <summary>
                /// 获取或设置发票编号
                /// </summary>
                /// <value>
                /// 发票编号
                /// </value>
                public string BillingNumber { get; set; }

                /// <summary>
                /// 获取或设置开票时间
                /// </summary>
                /// <value>
                /// 开票时间
                /// </value>
                public string BillingTime { get; set; }

                /// <summary>
                /// 获取或设置开票金额
                /// </summary>
                /// <value>
                /// 开票金额
                /// </value>
                public Double BillingAmount { get; set; }

                /// <summary>
                /// 获取或设置开票员工是否已确认
                /// </summary>
                /// <value>
                /// 开票员工是否已确认
                /// </value>
                public bool IsBillingConfirmed { get; set; }

        }
}